package spynx.util;

public class DeslUtil {
	
	public static String extractVersion(String s) {
		int idx = s.indexOf('.');
		if (idx < 0) return s;
		idx = s.indexOf('.', idx + 1);
		if (idx < 0) return s;
		return s.substring(0, idx);
	}
	
	public static void debugBreak(String name) {
		return;
	}
	
	public static void debugBreakIf(String name, boolean condition) {
		if (condition)
			return;
	}
}
